package com.example.service;

import com.example.pojo.Activity;
import com.example.utils.Result;

import java.util.List;

public interface ActivityService {
    void add(Activity activity);
    List<Activity> query(String status);
    void update(Activity activity);
    Result publishActivity(Integer id);
    Activity query(Integer id);

}
